// 你好
console.log('hello world')

let name1:string = '小明'

function greet(person: string, day: Date) {
    console.log(`hello ${person}, to day is ${day}`)
}

greet('小明', new Date())

type CustomArray = (number | string)[]
let arr1: CustomArray = [1, '2', 3]
